//
//  CustomTabBarButton.m
//  YunHaiManage
//
//  Created by zhangbolin on 2021/12/17.
//

#import "CustomTabBarButton.h"

@implementation CustomTabBarButton

- (CGRect)imageRectForContentRect:(CGRect)contentRect {

    return CGRectMake(self.bounds.size.width/2 - 15,
                      0,
                      30,
                      30);
}

- (CGRect)titleRectForContentRect:(CGRect)contentRect {
    return CGRectMake(0,
                      30,
                      self.bounds.size.width,
                      15);
}

@end
